package player.ui;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;

import javax.swing.JButton;
import javax.swing.JPanel;

public class ImgButton extends JPanel{
	private static final long serialVersionUID = 1293485671103496507L;

	public ImgButton(String str){
		super();
		this.setPreferredSize(new Dimension(100,100));
	}
	
	
	
	 public void paint(Graphics g){
		 Graphics2D g2=(Graphics2D)g;
		 g2.setColor(new Color(200,120,110,100));
		 g2.fillRoundRect(0, 0, getWidth(), getHeight(), 10, 10);
	}
	 
	 public void repaint(){
		 super.repaint();
	 }
}
